package com.happy.cat.project.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import com.happy.cat.framework.aspectj.lang.annotation.Excel;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;

import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;


/**
 * 聊天室申请对象 user_chatroom_apply
 * 
 * @author verne
 * @date 2020-08-29
 */
@Data
@ToString
@EqualsAndHashCode
@NoArgsConstructor
@Accessors(chain = true)
@TableName("user_chatroom_apply")
@ApiModel(value="聊天室申请对象", description="聊天室申请对象数据")
public class UserChatroomApply implements Serializable {

private static final long serialVersionUID=1L;


    /** ID */
    @ApiModelProperty(value = "${comment}")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /** 编号 */
    @Excel(name = "编号")
    @ApiModelProperty(value = "编号")
    private String code;

    /** 用户ID */
    @Excel(name = "用户ID")
    @ApiModelProperty(value = "用户ID")
    private Long accountId;

    /** 品类ID */
    @Excel(name = "品类ID")
    @ApiModelProperty(value = "品类ID")
    private Long chatroomTypeId;

    /** 真人照 */
    @Excel(name = "真人照")
    @ApiModelProperty(value = "真人照")
    private String photo;

    /** 申请理由 */
    @Excel(name = "申请理由")
    @ApiModelProperty(value = "申请理由")
    private String reason;

    /** 申请次数 */
    @Excel(name = "申请次数")
    @ApiModelProperty(value = "申请次数")
    private Long counts;

    /**状态1待审核，2通过，3拒绝 */
    @Excel(name = " 状态")
    @ApiModelProperty(value = " 状态")
    private Integer status;

    /** 提交时间 */
    @Excel(name = "提交时间" , width = 30, dateFormat = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /** 审核时间 */
    @Excel(name = "审核时间" , width = 30, dateFormat = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "审核时间")
    private Date applyTime;

    /** 审核人 */
    @Excel(name = "审核人")
    @ApiModelProperty(value = "审核人")
    private String applyBy;

    /** 审核备注 */
    @Excel(name = "审核备注")
    @ApiModelProperty(value = "审核备注")
    private String applyText;
}
